using UnityEngine;
using System.Collections;

public class RandomAgent : MonoBehaviour, IAgent
{
	public Move NextMove (ISensor[] input)
	{
		Move move = Move.GoForward;
		move |= Random.value < 0.5F ? Move.TurnLeft : Move.TurnRight;
		if(Random.value < 0.05F)
			move |= Move.Shoot;
		return move;
	}
}

